package com.ylbh.modules.sign.service;

import com.ylbh.common.pojo.sign.dto.SignDailyTasksDTO;
import com.ylbh.common.utils.PageUtils;
import com.ylbh.modules.sign.entity.ShoppingSigninDailyTask;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;

/**
 * 每日/成长任务表
 * @author wjc
 * @date 2019-011-06 14:22:40
 */
public interface ShoppingDailyTasksService {

    /**
     * 每日/成长任务例表
     * @author wjc
     * @date 2019-011-06 14:22:40
     */
    PageUtils queryDailyTasksList(SignDailyTasksDTO signDailyTasksDTO);

    String uploadImg(MultipartFile file, HttpServletRequest request);

    void addDailyTasks(SignDailyTasksDTO signDailyTasksDTO);

    ShoppingSigninDailyTask getDailyTasksById(String id);

    void modifyTurntableById(SignDailyTasksDTO signDailyTasksDTO);

    void removeDailyTasksById(String id);

    void modifyTaskEnableStateById(SignDailyTasksDTO signDailyTasksDTO);
}
